Optimal. Leaf size=25 \[ \frac{\tan ^{-1}\left (\sqrt{2} \tan (x)\right )}{2 \sqrt{2}}+\frac{\tan (x)}{2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0192821, antiderivative size = 45, normalized size of antiderivative = 1.8, number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.3, Rules used = {3209, 388, 203} \[ \frac{x}{2 \sqrt{2}}+\frac{\tan (x)}{2}+\frac{\tan ^{-1}\left (\frac{\sin (x) \cos (x)}{\sin ^2(x)+\sqrt{2}+1}\right )}{2 \sqrt{2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3209
Rule 388
Rule 203
Rubi steps
\begin{align*} \int \frac{1}{1-\sin ^4(x)} \, dx &=\operatorname{Subst}\left (\int \frac{1+x^2}{1+2 x^2} \, dx,x,\tan (x)\right )\\ &=\frac{\tan (x)}{2}+\frac{1}{2} \operatorname{Subst}\left (\int \frac{1}{1+2 x^2} \, dx,x,\tan (x)\right )\\ &=\frac{x}{2 \sqrt{2}}+\frac{\tan ^{-1}\left (\frac{\cos (x) \sin (x)}{1+\sqrt{2}+\sin ^2(x)}\right )}{2 \sqrt{2}}+\frac{\tan (x)}{2}\\ \end{align*}
Mathematica [A] time = 0.0525903, size = 24, normalized size = 0.96 \[ \frac{1}{4} \left (\sqrt{2} \tan ^{-1}\left (\sqrt{2} \tan (x)\right )+2 \tan (x)\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.04, size = 18, normalized size = 0.7 \begin{align*}{\frac{\arctan \left ( \sqrt{2}\tan \left ( x \right ) \right ) \sqrt{2}}{4}}+{\frac{\tan \left ( x \right ) }{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.41544, size = 23, normalized size = 0.92 \begin{align*} \frac{1}{4} \, \sqrt{2} \arctan \left (\sqrt{2} \tan \left (x\right )\right ) + \frac{1}{2} \, \tan \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.9956, size = 138, normalized size = 5.52 \begin{align*} -\frac{\sqrt{2} \arctan \left (\frac{3 \, \sqrt{2} \cos \left (x\right )^{2} - 2 \, \sqrt{2}}{4 \, \cos \left (x\right ) \sin \left (x\right )}\right ) \cos \left (x\right ) - 4 \, \sin \left (x\right )}{8 \, \cos \left (x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \int \frac{1}{\sin ^{4}{\left (x \right )} - 1}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.10003, size = 69, normalized size = 2.76 \begin{align*} \frac{1}{4} \, \sqrt{2}{\left (x + \arctan \left (-\frac{\sqrt{2} \sin \left (2 \, x\right ) - 2 \, \sin \left (2 \, x\right )}{\sqrt{2} \cos \left (2 \, x\right ) + \sqrt{2} - 2 \, \cos \left (2 \, x\right ) + 2}\right )\right )} + \frac{1}{2} \, \tan \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]